home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / PowerPlant / Multi-Panel Dialogs 1.1 / MPD Sources / Generic Classes / CIncludeView.h < prev    next >
Encoding:
Text File  |  1996-09-09  |  1.1 KB  |  41 lines  |  [TEXT/R*ch]

  1. // ===========================================================================
  2. //    File:                        CIncludeView.h
  3. // Version:                    1.0 - Feb 1, 1996
  4. //    Author:                    Mike Shields (mshields@inconnect.com)
  5. //                            
  6. //    Copyright ©1996 Mike Shields. All rights reserved.
  7. // ===========================================================================
  8. //    CIncludeView.cp        <- double-click + Command-D to see class declaration
  9. //
  10. // Class which controls the loading and disposing of a subpane.
  11.  
  12. #pragma once
  13.  
  14. #include <LView.h>
  15. #include <PP_Types.h>
  16.  
  17. class CIncludeView : public LView
  18. {
  19. public:
  20.     enum { class_ID = 'Incl' };
  21.     static CIncludeView*
  22.                         CreateFromStream(LStream *inStream);
  23.                         
  24.                         CIncludeView();
  25.                         CIncludeView(const CIncludeView &inOriginal);
  26.                         CIncludeView(const SPaneInfo &inPaneInfo, const SViewInfo &inViewInfo, 
  27.                                         ResIDT inStartingPane);
  28.                         CIncludeView(LStream *inStream);
  29.     virtual            ~CIncludeView();
  30.  
  31.     virtual void    IncludeView(ResIDT inPaneID, Boolean inRefresh);
  32.     
  33. protected:
  34.     virtual void    FinishCreateSelf(void);
  35.     virtual void    DisposeSubPane(void);
  36.     virtual void    LoadSubPane(void);
  37.     
  38.     ResIDT            mPaneID;
  39.     LPane*            mCurrentIncludedPane;
  40. };
  41.